// Copyright 2013 Square, Inc.
package org.assertj.ohos.api.hardware.usb;

import ohos.usb.USBRequest;
import org.assertj.core.api.AbstractAssert;

/** Assertions for {@link USBRequest} instances. */
public class UsbRequestAssert extends AbstractAssert<UsbRequestAssert, USBRequest> {
  public UsbRequestAssert(USBRequest actual) {
    super(actual, UsbRequestAssert.class);
  }
/* // TODO: wang, not found in ohos
  public UsbRequestAssert hasClientData(Object data) {
    isNotNull();
    Object actualData = actual.getClientData();
    assertThat(actualData) //
        .overridingErrorMessage("Expected client data <%s> but was <%s>.", data, actualData) //
        .isEqualTo(data);
    return this;
  }

  public UsbRequestAssert hasEndpoint(USBEndpoint endpoint) {
    isNotNull();
    USBEndpoint actualEndpoint = actual.getEndpoint();
    assertThat(actualEndpoint) //
        .overridingErrorMessage("Expected endpoint <%s> but was <%s>.", endpoint, actualEndpoint) //
        .isEqualTo(endpoint);
    return this;
  }*/
}
